package com.fjnu.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.fjnu.dao.IReserveLandDao;
import com.fjnu.dao.common.BaseDaoImpl;
import com.fjnu.entities.ReserveLand;
import com.fjnu.entities.Unit;
@Repository
public class ReserveLandDao extends BaseDaoImpl<ReserveLand> implements IReserveLandDao {


	public List<ReserveLand> findReserveland() {
		String hql="from ReserveLand";
		List<ReserveLand> list= findByHQL(hql);
		return list;
	}


	public ReserveLand findUniqueRes(Integer landId) {
		
		return findById(landId);
	}

}
